<ion-view view-title="限时抢购" class="myworld_sale">
	
<!--描述：滑动块-->
<ion-content scroll="false">
	<!--来回切换菜单-->
	<div class="row text-center font-large-my padding-0">
		<div class="col" on-tap="activeSlide(0)" ng-class="selectIndex==0?'top-activated':''">
 		 <img src="img/group1.png" /><br /> 
 		    活动设置
 		</div>
 		<div class="col" on-tap="activeSlide(1)" ng-class="selectIndex==1?'top-activated':''">
 		 <img src="img/group1.png" /><br /> 
 		    抢购商品
 		</div>
 		<div class="col" on-tap="activeSlide(2)" ng-class="selectIndex==2?'top-activated':''">
 		   <img src="img/group2.png" /><br />  
 		     抢购对象
 		</div>
 	</div>
				
	
	<ion-slide-box delegate-handle="main-handle" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false">
		<!--描述：定向测试-->
	<ion-slide>
	<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
		<!--描述：下拉刷新-->
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		
		<!--引入外部的页面-->
		  <div ng-include="'templates/myworld/sale/activitysetting_tem.html'"></div>
		  
		<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
		</ion-scroll>
	</ion-slide>
				
					
					<ion-slide>
						<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
							<!--描述：下拉刷新-->
							<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
							<!--描述：列表-->
							<div class="list goods"  >
								<div class="grab_line">
									<span class="grab_table head"> 商品名称</span>
									<span class="grab_table head"> 价格</span>
									<span class="grab_table head"> 数量</span>
									<span class="grab_table head"> 限购数</span>
									<!--<div ng-repeat = "goods in dealer.store">-->
										<div ng-repeat = " goods in dealer.goods">
										<span class="grab_table">{{goods.goods_name}}</span>
										<span class="grab_table"> <input class = "table_input" ng-disabled="!isable" type = "text" ng-model = "goods.promotion_price"></span>
										<!--<span class="grab_table"> <input class = "table_input" type = "text" ng-model = "goods.storenumber"></span>
										<span class="grab_table"> <input class = "table_input" type = "text" ng-model = "goods.personlimit"></span>-->
										<span class="grab_table"> {{goods.count}}</span>
										<span class="grab_table"> {{goods.limit_buy_num}}</span>
        		 				</div>
									<!--</div>-->
        	 					
        		 				</div>
        		 			</div>	
        		 			
						  <div class="button-bar padding">
					     	 <button class="button  button-assertive">取消</button>
					     	 <button class="button  button-positive col-offset-10" on-tap="get_goods()">保存</button>
					     </div>
							<!--描述：当用户到达页脚或页脚附近时-->
							<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
						</ion-scroll>
					</ion-slide>
					
	
	<ion-slide>
		<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
			<!--描述：下拉刷新-->
			<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			
		  <div ng-include="'templates/myworld/discount/selectagency_template.html'"></div>
		  
			<!--描述：当用户到达页脚或页脚附近时-->
			<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
		</ion-scroll>
	</ion-slide>
					
	</ion-slide-box>
  </ion-content>
</ion-view>